Total Complexity | 40 |
Dependencies | 9 |
Dependents | 0 |
Total lines | 297 |
Lines of code | 200 |
Logical lines of code | 99 |
Comment lines | 7 |
Methods | 13 |
Properties | 5 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
maybeCreateViewForGroup() | 47 | 10 | 33 | |
printRelatedAcfViews() | 45 | 7 | 42 | |
validateRelatedViewsOnGroupChange() | 49 | 6 | 32 | |
getRelatedViewLinksWithInvalidCustomMarkup() | 53 | 4 | 24 | |
setHooks() | 55 | 2 | 21 | |
addItemToView() | 62 | 2 | 11 | |
updateMarkupPreview() | 67 | 2 | 8 | |
printRelatedViewsColumnOnAcfGroupList() | 70 | 2 | 6 | |
__construct() | 69 | 1 | 7 | |
getJsHover() | 82 | 1 | 3 | |
addRelatedViewsToAcfGroupsList() | 72 | 1 | 5 | |
addAcfViewsTabToAcfGroup() | 72 | 1 | 5 | |
printAcfViewsTabOnAcfGroup() | 79 | 1 | 3 |